package com.feri.rbacsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 17.角色表(SysRole)表实体类
 *
 * @author makejava
 * @since 2023-03-26 10:40:28
 */
@Data
@TableName("t_role")
@NoArgsConstructor
public class Role {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //角色名
    private String name;

    // 角色类型
    private Integer type;
    // 角色描述
    private String description;


    public Role(String name, String description) {
        this.name = name;
        this.description = description;
    }
}
